<?xml version="1.0" encoding="utf-8" ?>
<ComputerSystem>
  <SystemMetric>
    <!-- Disk partition metrics -->
    <!-- Friendly name for query -->
    <Name>Disk Partitions</Name>
    <!-- Actual WMI query -->
    <WMIQuery>SELECT * FROM Win32_DiskPartition</WMIQuery>
    <!-- List of metrics to get -->
    <Metrics>
      <Metric>
        <Name>Name</Name>
      </Metric>
      <Metric>
        <Name>Size</Name>
      </Metric>
      <Metric>
        <Name>BootPartition</Name>
      </Metric>
      <Metric>
        <Name>Caption</Name>
      </Metric>
      <Metric>
        <Name>Description</Name>
      </Metric>
      <Metric>
        <Name>DeviceID</Name>
      </Metric>
      <Metric>
        <Name>PrimaryPartition</Name>
      </Metric>
      <Metric>
        <Name>Status</Name>
      </Metric>
      <Metric>
        <Name>SystemName</Name>
      </Metric>
      <Metric>
        <Name>Type</Name>
      </Metric>
    </Metrics>
  </SystemMetric>
  <SystemMetric>
    <!-- Logical disk metrics -->
    <Name>Disks</Name>
    <WMIQuery>SELECT * FROM Win32_LogicalDisk</WMIQuery>
    <Metrics>
      <Metric>
        <Name>DeviceID</Name>
      </Metric>
      <Metric>
        <Name>DriveType</Name>
        <!-- Lookups are used to include meaningful information
             in the system info report instead of numbers. -->
        <Lookups>
          <Lookup>
            <Value>0</Value>
            <Description>Unknown</Description>
          </Lookup>
          <Lookup>
            <Value>1</Value>
            <Description>No Root Directory</Description>
          </Lookup>
          <Lookup>
            <Value>2</Value>
            <Description>Removable Drive</Description>
          </Lookup>
          <Lookup>
            <Value>3</Value>
            <Description>Local Drive</Description>
          </Lookup>
          <Lookup>
            <Value>4</Value>
            <Description>Network Drive</Description>
          </Lookup>
          <Lookup>
            <Value>5</Value>
            <Description>CD Drive</Description>
          </Lookup>
          <Lookup>
            <Value>6</Value>
            <Description>RAM Disk</Description>
          </Lookup>
        </Lookups>
      </Metric>
      <Metric>
        <Name>FileSystem</Name>
      </Metric>
      <Metric>
        <Name>FreeSpace</Name>
      </Metric>
      <Metric>
        <Name>Size</Name>
      </Metric>
      <Metric>
        <Name>SystemName</Name>
      </Metric>
      <Metric>
        <Name>VolumeName</Name>
      </Metric>
    </Metrics>
  </SystemMetric>
  <SystemMetric>
    <!-- Computer system metrics -->
    <Name>Computer System</Name>
    <WMIQuery>SELECT * FROM Win32_ComputerSystem</WMIQuery>
    <Metrics>
      <Metric>
        <Name>Name</Name>
      </Metric>
      <Metric>
        <Name>Description</Name>
      </Metric>
      <Metric>
        <Name>CurrentTimeZone</Name>
      </Metric>
      <Metric>
        <Name>DaylightInEffect</Name>
      </Metric>
      <Metric>
        <Name>Domain</Name>
      </Metric>
      <Metric>
        <Name>DomainRole</Name>
        <Lookups>
          <Lookup>
            <Value>0</Value>
            <Description>Standalone Workstation</Description>
          </Lookup>
          <Lookup>
            <Value>1</Value>
            <Description>Member Workstation</Description>
          </Lookup>
          <Lookup>
            <Value>2</Value>
            <Description>Standalone Server</Description>
          </Lookup>
          <Lookup>
            <Value>3</Value>
            <Description>Member Server</Description>
          </Lookup>
          <Lookup>
            <Value>4</Value>
            <Description>Backup Domain Controller</Description>
          </Lookup>
          <Lookup>
            <Value>5</Value>
            <Description>Primary Domain Controller</Description>
          </Lookup>
        </Lookups>
      </Metric>
      <Metric>
        <Name>Manufacturer</Name>
      </Metric>
      <Metric>
        <Name>Model</Name>
      </Metric>
      <Metric>
        <Name>NumberOfProcessors</Name>
      </Metric>
      <Metric>
        <Name>PartOfDomain</Name>
      </Metric>
      <Metric>
        <Name>TotalPhysicalMemory</Name>
      </Metric>
      <Metric>
        <Name>Workgroup</Name>
      </Metric>
    </Metrics>
  </SystemMetric>
  <SystemMetric>
    <!-- Operating system metrics -->
    <Name>Operating system</Name>
    <WMIQuery>SELECT * FROM Win32_OperatingSystem</WMIQuery>
    <Metrics>
      <Metric>
        <Name>Name</Name>
      </Metric>
      <Metric>
        <Name>Description</Name>
      </Metric>
      <Metric>
        <Name>Version</Name>
      </Metric>
      <Metric>
        <Name>BuildNumber</Name>
      </Metric>
      <Metric>
        <Name>BuildType</Name>
      </Metric>
      <Metric>
        <Name>ServicePackMajorVersion</Name>
      </Metric>
      <Metric>
        <Name>ServicePackMinorVersion</Name>
      </Metric>
      <Metric>
        <Name>Debug</Name>
      </Metric>
      <Metric>
        <Name>CountryCode</Name>
      </Metric>
      <Metric>
        <Name>EncryptionLevel</Name>
      </Metric>
      <Metric>
        <Name>Organization</Name>
      </Metric>
      <Metric>
        <Name>OSLanguage</Name>
      </Metric>
      <Metric>
        <Name>FreePhysicalMemory</Name>
      </Metric>
      <Metric>
        <Name>FreeSpaceInPagingFiles</Name>
      </Metric>
      <Metric>
        <Name>FreeVirtualMemory</Name>
      </Metric>
      <Metric>
        <Name>MaxNumberOfProcesses</Name>
      </Metric>
      <Metric>
        <Name>MaxProcessMemorySize</Name>
      </Metric>
      <Metric>
        <Name>NumberOfProcesses</Name>
      </Metric>
      <Metric>
        <Name>NumberOfUsers</Name>
      </Metric>
      <Metric>
        <Name>SizeStoredInPagingFiles</Name>
      </Metric>
      <Metric>
        <Name>TotalVirtualMemorySize</Name>
      </Metric>
      <Metric>
        <Name>TotalVisibleMemorySize</Name>
      </Metric>
      <Metric>
        <Name>SystemDrive</Name>
      </Metric>
      <Metric>
        <Name>WindowsDirectory</Name>
      </Metric>
      <Metric>
        <Name>SystemDirectory</Name>
      </Metric>
      <Metric>
        <Name>Status</Name>
      </Metric>
    </Metrics>
  </SystemMetric>
  <SystemMetric>
    <!-- Page file metrics -->
    <Name>Page File</Name>
    <WMIQuery>SELECT * FROM Win32_PageFileUsage</WMIQuery>
    <Metrics>
      <Metric>
        <Name>Name</Name>
      </Metric>
      <Metric>
        <Name>CurrentUsage</Name>
      </Metric>
      <Metric>
        <Name>AllocatedBaseSize</Name>
      </Metric>
      <Metric>
        <Name>PeakUsage</Name>
      </Metric>
      <Metric>
        <Name>Status</Name>
      </Metric>
      <Metric>
        <Name>TempPageFile</Name>
      </Metric>
    </Metrics>
  </SystemMetric>
</ComputerSystem>
